<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%--<meta http-equiv="Content-Language" content="French" /> --%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<title>BoVoyage</title>
</head>
<body>
<f:view >
	<div id="wrap">

	<div id="header"><jsp:include page="header.jsp" /></div>



	<div id="content">
	<div class="left">


	<h2><h:outputText value="Inscription :" /></h2>
	<h:form>
		<table cellpadding="2" cellspacing="2">

			<tr>
				<td><h:outputText value="Nom :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.lastname}" /></td>

			</tr>

			<tr>
				<td><h:outputText value="Prenom :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.firstname}" /></td>

			</tr>

			<tr>
				<td>&nbsp;</td>

			</tr>


			<tr>
				<td><h:outputText value="Login :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.login}" /><h:outputText
					value="#{messages.register_loginused}"
					rendered="#{ManagedBean.loginUsed}" /></td>

			</tr>

			<tr>
				<td><h:outputText value="Mot de passe :" /></td>

			</tr>

			<tr>
				<td><h:inputSecret value="#{ManagedBean.password}" /></td>

			</tr>

			<tr>
				<td><h:outputText value="Adresse Mail :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.eMail}" /></td>

			</tr>

			<tr>
				<td>&nbsp;</td>

			</tr>


			<tr>
				<td><h:outputText value="Adresse :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.street}" /></td>

			</tr>

			<tr>
				<td><h:outputText value="Code postal :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.zipCode}" /></td>

			</tr>

			<tr>
				<td><h:outputText value="Ville :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.city}" /></td>

			</tr>

			<tr>
				<td><h:outputText value="Telephone :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.telephone}" /></td>

			</tr>
			<tr>
				<td><h:outputText value="Pays :" /></td>

			</tr>

			<tr>
				<td><h:inputText value="#{ManagedBean.country}" /></td>

			</tr>

			<tr>
				<td><h:commandButton value=" Valider "
					action="#{ManagedBean.doSignMeIn}" /></td>

			</tr>
		</table>
	</h:form></div>
	<jsp:include page="login.jsp" />
	<jsp:include page="logged.jsp" />
	<div style="clear: both;"></div>
	</div>
	<br />
	<br />
	<br />
	<div id="footer"><jsp:include page="footer.jsp" /></div>
	</div>
</f:view>
</body>
</html>